package com.itheima.service;

import com.itheima.entity.PageResult;

import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {
    List<Permission> findAll();


    PageResult findByPage(Integer pageSize, Integer currentPage, String queryString);

    void add(Permission permission);

    Permission findById(Integer id);


    void update(Permission permission);

    void delById(Integer id);
}
